package com.onpositive.datacollection.editor;

import com.onpositive.datamap.core.IDataProperty;
import com.onpositive.semantic.model.api.labels.ITextLabelProvider;
import com.onpositive.semantic.model.api.meta.IHasMeta;

public class DataPropertyLabelProvider implements ITextLabelProvider{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Override
	public String getText(IHasMeta meta, Object parent, Object object) {
		IDataProperty p=(IDataProperty) object;
		return p.id();
	}

	@Override
	public String getDescription(Object object) {
		// TODO Auto-generated method stub
		return null;
	}

}
